﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.CustomerModel
{
    public class ManageCustomerInvoicesGridViewModel
    {
        public int CustomerID { get; set; }
        public int GroupID { get; set; }
        public string BalanceSum_0_30_ { get; set; }
        public string BalanceSum_30_60_ { get; set; }
        public string BalanceSum_60_90_ { get; set; }
        public string BalanceSum_90_120_ { get; set; }
        public string BalanceSum_120_ { get; set; }
        [DisplayName("Total:")]
        public string BalanceSumTotal { get; set; }
        public List<MangeCustomerInvoicesRowViewModel> Rows { get; set; }
    }
    public class MangeCustomerInvoicesRowViewModel
    {
        public string CustomerID { get; set; }
        public string GroupID { get; set; }
        public string GroupCode { get; set; }
        public string GroupName { get; set; }
        public string FinalPayment { get; set; }
        public string Charged { get; set; }
        public string Payed { get; set; }
        public string Days { get; set; }
        public string Balance { get; set; }
        public bool IsGir { get; set; }
        public bool IsPushed { get; set; }
        public double BalanceForSum { get; set; }
    }
}